from utils import xprimes

counter = 1
for i in xprimes(110000):
    if counter >= 10001:
        print i
        break
    counter += 1
         
#list = [2]
#x = 3
#while True:
#    if len(list) >= 10001:
#        break
#
#    is_prime = True
#    for i in list:
#        if x % i == 0:
#               is_prime = False
#               break
#    if is_prime:
#        list += [x]
#    x += 2 
#print list[-1]
